package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2023/10/26
 */
@ApiModel("字典类型添加DTO")
@Data
public class SysDictAddDTO implements Serializable {

    @ApiModelProperty("类型编码")
    @NotBlank(message = "请填写字典编码" )
    private String dictCode;

    @ApiModelProperty("类型名称")
    @NotBlank(message = "请填写字典名称" )
    private String dictName;

    @ApiModelProperty("是否系统字典")
    private Boolean isSys;

    @ApiModelProperty("备注")
    private String remark;
}
